package com.wxy.demo.overload;

/**
 * <p>
 * 重载
 * </p>
 *
 * @author e-Xiaoyuan.Wang
 * @since 2022/4/21 11:35
 */
public class Demo {
    public int test() {
        System.out.println("test1");
        return 1;
    }

//    public void test(){
//        System.out.println("test2");
//    }

    public void test(int a, String b) {
        System.out.println(a + b);
    }

    public void test(String b, int a) {
        System.out.println(b + a);
    }
}
